package com.googlecode.maurersmarbles;

import android.app.Activity;
import android.os.Bundle;

public class MaurersMarbles extends Activity {

	// TODO Determine the animation values
	public static final long ANIMATION_OFF = 0L;
	public static final long ANIMATION_FAST = 250L;
	public static final long ANIMATION_NORMAL = 500L;
	public static final long ANIMATION_SLOW = 1000L;
	private static long animationTime = ANIMATION_NORMAL;

	protected GameView gameView;

	/**
	 * Returns the animation time (in millis).
	 * @return the animation time (in millis)
	 */
	public static long getAnimationTime() {
		return animationTime;
	}

	/**
	 * Sets the animation time (in millis).
	 * @param animationTime the animation time (in millis)
	 */
	public static void setAnimationTime(Long animationTime) {
		MaurersMarbles.animationTime = animationTime;
		// TODO Need to save this value
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {

		super.onCreate(savedInstanceState);

		// tell system to use the layout defined in our XML file
		setContentView(R.layout.maurers_marbles_layout);

		// get handles to the GameView from XML
		gameView = (GameView) findViewById(R.id.view);

	}

	@Override
	protected void onPause() {
		super.onPause();
	}

	@Override
	protected void onSaveInstanceState(Bundle outState) {
		super.onSaveInstanceState(outState);
	}

	/**
	 * 
	 * -New Game -GameSetupView <back to main menu> -Select color -Select
	 * difficulty -Start -GameView
	 * 
	 * -Options -OptionsView <back to main menu> -Animations [off, slow, normal,
	 * fast] -Sound [off, on] -Theme [classic]
	 * 
	 * -Rules -RulesView <back to main menu> -Display rules
	 * 
	 */

}
